/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaboken;

/**
 *
 * @author Bertil
 */
public class Strmeth {
    public Strmeth(){
    
    }
    public void echo(String output){

        System.out.println(output);
    }
    public String caser(String input){
        // go to . / ! / ?, set next _character_ (nb) to uppercase
        // also: set last letter to . if it isnt already
        // 33chars
        for(int i = 0; i < input.length(); i++){
            echo("for'd");
        }
        String output = "";
        return output;
    }
    /*
     *
     *
     *
     * public class StringDemo {
    public static void main(String[] args) {
        String palindrome = "Dot saw I was Tod";
        int len = palindrome.length();
        char[] tempCharArray = new char[len];
        char[] charArray = new char[len];

        // put original string in an array of chars
        for (int i = 0; i < len; i++) {
            tempCharArray[i] = palindrome.charAt(i);
        }

        // reverse array of chars
        for (int j = 0; j < len; j++) {
            charArray[j] = tempCharArray[len - 1 - j];
        }

        String reversePalindrome =  new String(charArray);
        System.out.println(reversePalindrome);
    }
}
     *
     *
     *
     *
     *
     *
     * Character.isUpperCase('c')
     *  String upper = string.toUpperCase();
     *
     * public void cfgSearch(String input){
     * for(int i=0; i < cfglist.size(); i++){
     * if(cfglist.get(i).indexOf(input) != -1){
     * paneList.setSelectedIndex(i);
     * paneList.ensureIndexIsVisible(i);
     *  }
     * }}
     */
}
